package com.bdqn.sj.mapper;

import com.bdqn.sj.pojo.SysRole;
import com.bdqn.sj.pojo.SysUser;
import org.mybatis.spring.support.SqlSessionDaoSupport;

import java.util.List;

public class SysUserMapperDaoSupportImpl extends SqlSessionDaoSupport implements SysUserMapper{


    @Override
    public List<SysUser> selectSysUserList(SysUser sysUser) {
        return this.getSqlSession().getMapper(SysUserMapper.class).selectSysUserList(sysUser);
    }


    @Override
    public List<SysUser> getUser() {
        return this.getSqlSession().getMapper(SysUserMapper.class).getUser();
    }

    @Override
    public int add(SysRole sysUser) {
        return 0;
    }

    @Override
    public int del(int id) {
        return 0;
    }

}
